#include "CRoad.h"


CRoad::CRoad(IrrlichtDevice* device)
{
	ISceneManager* smgr = device->getSceneManager();
	IVideoDriver* driver = device->getVideoDriver();
	
	// Load scene (only road)
	smgr->loadScene(L"data/scene/scene.irr");
	
	// Load skybox
	ISceneNode* skybox = smgr->addSkyBoxSceneNode(
		driver->getTexture(L"data/textures/sky/city_up.jpg"),
		driver->getTexture(L"data/textures/sky/city_dn.jpg"),
		driver->getTexture(L"data/textures/sky/city_lt.jpg"),
		driver->getTexture(L"data/textures/sky/city_rt.jpg"),
		driver->getTexture(L"data/textures/sky/city_ft.jpg"),
		driver->getTexture(L"data/textures/sky/city_bk.jpg"));
}

CRoad::~CRoad(void)
{
}
